<extend name="Public/frame" />
<block name="content-box">

    <form class="form-horizontal tpx-ajaxsubmit" role="form" action="{:U(CONTROLLER_NAME.'/'.ACTION_NAME)}" method="post">

        <div class="form-group">
            <label class="col-sm-2 control-label">地址</label>
            <div class="col-sm-9">
                <input name="contact_address"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$contact_address|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">邮箱</label>
            <div class="col-sm-9">
                <input name="contact_email"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$contact_email|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">网址</label>
            <div class="col-sm-9">
                <input name="contact_website"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$contact_website|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">电话</label>
            <div class="col-sm-9">
                <input name="contact_tel"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$contact_tel|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">QQ</label>
            <div class="col-sm-9">
                <input name="contact_qq"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$contact_qq|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary">{$Think.lang.submit}</button>
            </div>
        </div>

    </form>

</block>